Autodesk Developer Network 2011
Autodesk
EnergyAnalysisModel
§Produce analytical thermal model from physical building model
§Retrieve energy analysis detail model and present as tree view
§Similar to Export to gbXML and Heating and Cooling Loads
§Model is composed of spaces, zones and planar surfaces
§EnergyAnalysisDetailModel.Create()
§GetAnalyticalSpaces, GetAnalyticalSurfaces, GetAnalyticalOpenings, GetAnalyticalShadingSurfaces

| This new API provides access to the contents of a project's detailed energy analysis model, as seen in the Export to gbXML and the Heating and Cooling Loads features.
| This analysis produces an analytical thermal model from the physical model of a building. The analytical thermal model is composed of spaces, zones and planar surfaces that represent the actual volumetric elements of the building.
| New classes in Autodesk.Revit.DB.Analysis namespace for the energy analysis detail model itself, creation options, openings, spaces, surfaces and loops can be used to generate and analyze the contents of the detailed energy analysis model. The EnergyAnalysisDetailModel Create method creates and populates the model with appropriate options selected. The methods GetAnalyticalSpace, GetAnalyticalSurfaces, GetAnalyticalOpenings and GetAnalyticalShadingSurfaces extract entities from the analysis model. The method Destroy cleans up the Revit database after finishing with the analysis results.
| Open C:\a\lib\revit\2012\SDK\Samples\GeometryAPI\EnergyAnalysisModel\EnergyAnalysisModel.rvt.
| Run RvtSamples > Analysis > EnergyAnalysisModel.
| EnergyAnalysisDetailModelTier specifies level of computation detail for energy analysis model.